package com.lottery.material.enumeration.article;

import com.lottery.material.enumeration.base.BaseEnum;
import lombok.Getter;

/**
 * Description：文章活跃信息枚举类
 * Created by 朱正磊 on 2019-04-15 16:39
 */
@Getter
public enum ArticleActiveInfoEnum implements BaseEnum {

    // 文章状态（1：待审核；2：审核不通过/驳回；3：审核通过；）
    ARTICLE_STATE_WAITING_FOR_REVIEW("ARTICLE_STATE", 1, "否"),
    ARTICLE_STATE_REJECT("ARTICLE_STATE", 2, "是"),
    ARTICLE_STATE_APPROVED("ARTICLE_STATE", 3, "是"),

    // 是否收费（1：否；2：是）
    IS_CHARGE_FALSE("IS_CHARGE", 1, "否"),
    IS_CHARGE_TRUE("IS_CHARGE", 2, "是"),

    // 赛事是否结束（1：否；2：是）
    IS_COMPETITION_FALSE("IS_COMPETITION", 1, "否"),
    IS_COMPETITION_TRUE("IS_COMPETITION", 2, "是"),

    // 收费文章是否公开（1：否；2：是；）
    IS_END_PUBLIC_FALSE("IS_END_PUBLIC", 1, "否"),
    IS_END_PUBLIC_TRUE("IS_END_PUBLIC", 2, "是"),

    // 是否存在赛事（1：否；2：是）
    IS_EXIST_COMPETITION_FALSE("IS_EXIST_COMPETITION", 1, "否"),
    IS_EXIST_COMPETITION_TRUE("IS_EXIST_COMPETITION", 2, "是"),

    // 是否进热贴（1：否；2：是）
    IS_HOT_FALSE("IS_HOT", 1, "否"),
    IS_HOT_TRUE("IS_HOT", 2, "是"),

    // 是否推广（1：否；2：是）
    IS_PROMOTION_FALSE("IS_PROMOTION", 1, "否"),
    IS_PROMOTION_TRUE("IS_PROMOTION", 2, "是"),

    // 是否置顶（1：否；2：是）
    IS_TOP_FALSE("IS_TOP", 1, "否"),
    IS_TOP_TRUE("IS_TOP", 2, "是"),

    // 锁状态（1：锁着；2：开锁）
    LOCK_STATE_LOCKED("LOCK_STATE", 1, "锁着"),
    LOCK_STATE_UNLOCKED("LOCK_STATE", 2, "开锁"),
    ;

    private String code;
    private Object value;
    private String description;

    ArticleActiveInfoEnum(String code, Object value, String description) {
        this.code = code;
        this.value = value;
        this.description = description;
    }

    public static final String ARTICLE_STATE = "ARTICLE_STATE";
    public static final String IS_CHARGE = "IS_CHARGE";
    public static final String IS_COMPETITION = "IS_COMPETITION";
    public static final String IS_END_PUBLIC = "IS_END_PUBLIC";
    public static final String IS_EXIST_COMPETITION = "IS_EXIST_COMPETITION";
    public static final String IS_HOT = "IS_HOT";
    public static final String IS_PROMOTION = "IS_PROMOTION";
    public static final String IS_TOP = "IS_TOP";
    public static final String LOCK_STATE = "LOCK_STATE";

}
